this.onmessage = function(e){
	let num = 0;
	console.log("开始计算");
	for(let i=0;i<e.data;i++){
		num+=Math.random();
	}
	console.log("结束：",num);
	this.postMessage(100);
	this.close();
}
// console.log(1)